package com.lft.freshordering.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lft.freshordering.entity.OrderDetail;
import org.apache.ibatis.annotations.Insert;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tyhxzy
 * @since 2024-12-02
 */
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {

    //新增订单详情
    @Insert("insert into  order_detail(id,sid,oid,count) " +
            "values (#{id},#{sid},#{oid},#{count})")
    void addorderDetail(OrderDetail orderDetail);
}
